package com.asistencia.domain;

import java.util.List;

import org.springframework.stereotype.Repository;

@Repository
public class Student extends User{

	private Integer idStudent;

	private String name;

	private String lastname;

	private String motherLastname;

	private String studentCode;

	private String email;


	private String dni;

	public Integer getIdStudent() {
		return idStudent;
	}

	public void setIdStudent(Integer idStudent) {
		this.idStudent = idStudent;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLastname() {
		return lastname;
	}

	public void setLastname(String lastname) {
		this.lastname = lastname;
	}

	public String getMotherLastname() {
		return motherLastname;
	}

	public void setMotherLastname(String motherLastname) {
		this.motherLastname = motherLastname;
	}

	public String getStudentCode() {
		return studentCode;
	}

	public void setStudentCode(String studentCode) {
		this.studentCode = studentCode;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}


	public String getDni() {
		return dni;
	}

	public void setDni(String dni) {
		this.dni = dni;
	}

	public Career getMyCareer() {
		return myCareer;
	}

	public void setMyCareer(Career myCareer) {
		this.myCareer = myCareer;
	}

	public List<Enrollment> getMyEnrollment() {
		return myEnrollment;
	}

	public void setMyEnrollment(List<Enrollment> myEnrollment) {
		this.myEnrollment = myEnrollment;
	}

	private Career myCareer;
	/**
	 * 
	 * @element-type Enrollment
	 */
	private List<Enrollment> myEnrollment;

}